package com.tianxiabuyi.model.pojo;

import com.alibaba.fastjson.annotation.JSONField;
import com.tianxiabuyi.model.base.TXBYObject;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

@Entity
@Table(name = "hospital_dept_user")
public class HospitalDeptUser extends TXBYObject{

    @Column(name = "dept_id")@JSONField(name = "dept_id")
    private Integer deptId; // 科室id

    @Column(name = "user_id")@JSONField(name = "user_id")
    private Integer userId; // 用户id

    public Integer getDeptId() {
        return deptId;
    }

    public void setDeptId(Integer deptId) {
        this.deptId = deptId;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }
}
